package com.gitee.xmhzzz.device.service.domain;

import com.gitee.xmhzzz.component.things.metadata.DataType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @ClassName Property
 * @Description
 * @Author wzq
 * @Date 2024/5/23 18:08
 * @Version 1.0
 */
@Data
public class Property {
    @Schema(description = "属性ID")
    private String identifier;

    @Schema(description = "属性名")
    private String name;

    @Schema(description = "属性读写类型：只读（r）或读写（rw）")
    private String accessMode;

    @Schema(description = "是否是标准功能的必选属性：是（true），否（false）")
    private Boolean required;

    @Schema(description = "数据类型")
    private DataType dataType;
}
